import Mock from 'mockjs';

Mock.mock(/\/device\/list/, 'post', {
    code: 0,
    message: 'success',
    data: [
        {
            id: '111',
            deviceId: '222',
            userRemark: '333',
            deviceModel: '444',
            status: 'online',
            version: 1,
        },
        {
            id: '222',
            deviceId: '333',
            userRemark: '444',
            deviceModel: '555',
            status: 'offline',
            version: 1,
        },
    ],
});

Mock.mock(/\/device\/update/, 'post', {
    code: 0,
    message: 'success',
    data: '',
});
